﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frmLogin.aspx.cs" Inherits="Sinacor.Tools.Web.ConstantesErro.frmLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" style="margin: 0 0 0 0; width: 100%; height: 100%;">
<head runat="server">
    <title>Autenticação de usuário</title>
    <link href="Estilos.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="pragma" content="no-cache" />   
    <script type="text/javascript">
        function posicionar()
        {
            if (window.frameElement != null)
            {
                var src = window.location.href;
                src = src.substring(0, src.lastIndexOf('/') + 1)
                window.parent.document.location.href = src + window.frameElement.src + "?loopback=1";
            }
        }
    </script>
</head>
<body style="margin: 0 0 0 0; width: 100%; height: 100%;">
    <form id="frmLogin" runat="server" style="margin: 0 0 0 0; width: 100%; height: 100%;">
        <table style="margin: 0 0 0 0; width: 100%; height: 100%;">
            <tr valign="middle" style="margin: 0 0 0 0; width: 100%; height: 100%;">
                <td style="width: 33%">&nbsp;</td>
                <td align="center"  style="margin: 0 0 0 0; width: 34%; height: 100%;">
                    <table style="width: 200px; height: 100px; border: solid 1px black;" cellpadding="0" cellspacing="0"> 
                        <tr>
                            <td>Usuário</td>
                            <td><asp:TextBox ID="txtUsuario" runat="server" ></asp:TextBox> </td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td>Senha</td>
                            <td><asp:TextBox ID="txtSenha"  runat="server" TextMode="Password" ></asp:TextBox></td>
                            <td><asp:Button ID="btnAutenticar" runat="server" Text="Ok" 
                                    onclick="btnAutenticar_Click" /> </td>
                        </tr>                        
                    </table>
                </td>
                <td style="width: 33%">&nbsp;</td>
            </tr>
        </table>
    </form>
</body>
</html>
